package com.blockchainenergy.info.data.impl;

import com.blockchainenergy.info.data.Data;
import com.blockchainenergy.info.data.DataService;
import com.blockchainenergy.info.data.User;
import com.blockchainenergy.info.data.dao.DataDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.io.*;
import java.util.List;

/**
 * @descriptions:
 */
@Service
@Transactional
public class DataServiceImpl implements DataService {
    @Resource
    private DataDao dataDao;

    @Override
    public List<User> getUserInfo() {
        return dataDao.getUserInfo();
    }
}
